/**
 * @fileoverview 通用eslint规则
 * @author eslint-plugin-lx
 */
'use strict';

// ------------------------------------------------------------------------------
// Requirements
// ------------------------------------------------------------------------------

// const requireIndex = require('requireindex');

// ------------------------------------------------------------------------------
// Plugin Definition
// ------------------------------------------------------------------------------

// import all rules in lib/rules
// module.exports.rules = requireIndex(__dirname + '/rules');
module.exports = {
  rules: {
    'settimeout-disable-number': require('./rules/settimeout-disable-number')
  },
  configs: {
    base: require('./configs/base'),
    essential: require('./configs/essential'),
    normal: require('./configs/normal')
  }
};
